import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty, ArrayNotEmpty } from 'class-validator';

export class BindAclDto {
  @ApiProperty({ required: true, description: '权限ID' })
  @IsNotEmpty({ message: '权限id不能为空' })
  @ArrayNotEmpty({ message: '权限id不能为空' })
  acls: string[];
}
